package com.system.data.service;

import com.system.data.dao.CommentSentimentDao;
import com.system.data.model.AgriNyyw_info;
import com.system.data.model.CommentSentiment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommentSentimentService {
    @Autowired
    CommentSentimentDao commentSentimentDao;

    public List<CommentSentiment> findCommentSentimentByText(String text){
        return commentSentimentDao.findCommentSentimentByText(text);
    }
}
